package com.kgc.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created on 2021/6/24.
 * Author: lzy
 * Description: 前端接收商品的数据
 */
@Data
@ApiModel(value = "接收商品的数据")
public class GoogsItemFrom {

    @ApiModelProperty(value = "商品的编号")
    private String goodsId;

    @ApiModelProperty(value = "商品的标题")
    private String title;

    @ApiModelProperty(value = "商品的数量",example = "1")
    private Integer num;

    @ApiModelProperty(value = "商品的单价",example = "1")
    private Integer prePrice;

    @ApiModelProperty(value = "商品的图片地址")
    private String picPath;

}
